added msg_generator to create games