start of domrip stuff