make more constants into params for better learning