working on onDrag function