mess_ptr added.