added orientation as option