changed logic in shcedule, removed mallocs
doing some shit with the stuff bro. seriously though fuck that if statement