added HD mode