removing printStackTrace calls.