moved comments outside of functions