added helper methods