added hmd flags