moar functionality for classes