Added system.waitMessage