crappy sprite cycle. needs to be revamped