changed chat to be a directive