howto? : loop-detection in 'require' calls