added new functions for messages