implemented haml views