updated variables and constants