find smallest value
output more readable