I don't like the function everywhere style. If you want to define a function. it is better not put in the middle of another functions