add bug and world class. but sleep function has problem... have to make test code.