introduce new class for objects which have hp