implemented modify + tests
0.3.8