Changed var to const