updated TODO and fixed syntax error