refactored
doc
bumped version number to 0.3.2