Upgrading selenium