move constant out of constructor