assignment 4 stuff