adding gap table changes