fixed rotate convenience function