implementing in calculating the extras