encapsulated assignment added to repo