process messages

process messages