CS216 Code