COSC440 paper