Added resetting of set