0.1.0 fully tested/valgrinded version