added lock orientation