uploding the mosd code