changes in parameter and instances structs