made array and some changes on schedule