move constants to the helper