starting here including the next two lines, could ll be turned into one line using a ... if ... else ... expression to build info. 

I don't think you necessarily want the shortest possible code, but I sorta turned this into a contest with my friend to see who could do it in less lines, lol