tweaked hOpt
add comments