add class helper method