creating motion templates