rewritten some views to HAML