[update] removed unused imports and fixed a syntax error (print is now a function)