helper classes for tutorial