first working haml conversion