starting to add check for ast change of a gap using hdb