added message controller