fixed typo
0.3.2
reorganized code and added tests