separate templates and first calculous