changed static to environ