sample code for ipc144-don frey's class