implemented logging; protocol revision