A new look at fertilizer production from waste