Prototype of hiding system. Please don't look at the code.