changed the protocol vector so that index == time