preparations for object fitting