create helper method to refactor arrows