Added relational arrays for getting schedule