added second arg to gap