Added instance var for main view controller