fixed unnecessary inheritance