added templates and a small fix to ximeraInPractice