integrated with emily's template.