Studies towards the total synthesis of a natural product alkaloid