use return to exit method