gap can be set as vector