starting work on Phase class