parameterized some constants