first HAML conversion