Up to assignment 8