modified helper and view for new message model