Merge "Initialized the orientation variable to -1."