renames variables
adds const value to remove NC magic number