stub helper method