handling string messages