add algorithm queue