Remove magic number in my code.