option to write locus to binary
add additional debug info