added constants to protocol