getter + setters for range - flag issue to be fixed with bad range
add dist