moving into template