simplified it and got nested views done just filter and cors left