add helper method