return outputs instead of ids