class helpers