add instance variable to form