nicer processing messages