Fixed snapping, added breaking, it's beautiful