variables changed to constants