Adding magic numbers code