extracting to constant