implemented Loopbox model