removed unncecessary var keywords