adds a helper method