spl assignment 4