Added exHet functions
Fixed a warning