add saving of properties