passing params by views