updated version of the paper