add dymnamic origin
working on destination bug
dynamic origin works now