got the instance variables passing to views correctly