CHANGED:merged the code from FaceChatController referenced