implement slots saving