Must initialize orientation variable.