code cleanup; does not clear list now
adding tests, code cleanup
1.0.0