binds
before making margin save
margin save done
margin counting