remove logging and unneeded protocol parameter