add slots handling