Working version: getting instances and realoding