perfectly working, only not saving a bit