Added timer for mating