added line for extract to have variables passed from controller to view