move consts out to common