using a standard mk library provided to c311 students