helper method in rake