cycle n stuff. Also should fix some other things later.