total haml conversion