add distance
add flag for bone controller