drag and drop slowly getting better, code is broken for now