adding message functional;