added gap features to config