removed a pdb.set_trace()