Changed code to haml