change "$text" variable to "$message"