split funcs; added draggable
build