improved logNG