saving loading patterns works

load save takes 8ms in average