working fetch from view