proper template starting to work