finished writing the expMap() method