added twice helper method