misc edits
test rotate function