added units

I was not able to test this as I do not have an API key. However it was an easy enough addition. I also changed some lines for length < 80, hope that's alright.