added the density dependent emergence function