Title: On the origin of the hard X-Ray spectra from neutron stars and black holes