Use the return value of getMagicNumber instead of using a