version 0.9

modified and cleaned some code!