Adding cs620 code