converting theatre environment to a string