handling slots