results improved to print mid values