created subclass, tested functionality