refactore jq-docking (WIP)