added sets to speedup