Comp 110 Functions