removed helper method