changed it to public and passed a view

that was one of the errors that it was saying was the problem