pass correct constant type to constructor