Code for CMSC-23010