added doctstring to units