Implemented magic set method in requirement
Adapted todo