Added code for zoo driver earning problem