made angle function and tests for meeting