converted to jbuilder views