added snapEnabled checkbox