got most of the template done