changed variable name to initialView