what to think of when building an xray machine