added back mostRecentMsg functionality in getOneMsg function