rewritten team partial to HAML