modified find_gaps(), made UI prettier