added gap config