remove Hmisc import
removing Hmisc dependency
documentation for mid()