records protocols example