more headerws
moved getting parameters out of the column loop
drawing a histrogram - so far with no real content