added protocol to record