switched erb to haml template engine