- added helper method