eliminate magic constants