adding orienation and integral rotation