adding convenience functions for adding subclasses