Function amount removed from code, as it already exist in parent class.
Changes done according to latest review