simplified the subclass to use the parent's functionality