added some helper classes