added support for new get_gaps function parameters