change function name from __setitem to __setitem__