setting up getData for scheduling
setting up getData for scheduling