Changed variable name alpha to phi to eliminate confusion