adds instance variables