add the helper method