finished backend of assignment 4