add algorithm type