extrct algorithm code rather than name