add options, to be able to set snapTo value
Merge branch 'work'