made slight modifications so that jobs call call replace Details