Complete the template for rotation