make helper method public