changed to templating to haml