Got long mode code working