Thien: testing out the loop logic in HAML