changed getters and setters of collections, so that they return a copy
of the collection