Input and rotation example added.