directives for simple calculator pages