compton derivation and setup img