Setup generateMessage prototype2