wrote more tests
updated pdb index
docstrings. removed unused argument.