Magic Number Check Implementation