cleaning up the instance data processing