lots of needless var elements