replace with magic number with variable