get avg values, layout