added comments in the mapper class