working on phi psi angles