bind kittens model to template