added basic rotation, silly integer stuff though