schedule is now all in database