working on schedule, need to switch for loops to async loops