drag option works, todo eleminate sideeffects