average func added
empty and ++ added
bad while