Output largest value instead of whole array