removed a misplaced "import pdb; pdb.set_trace()"