added int and vector to reserve check