added phi resolution