Added messagin functionality