new files : gaps.cpp, gaps.h