commenting functions in the Unit class