Small change to allow the first level of chat to be a function