made changes to the possession loops