renamed constant variables and added comment