Added phase method to api