Added parameterizable rotation