apply bonus in abstract class bonus