building the instances object