[PATCH] add message types