REF: extract field and eliminate magic number