working assignment 2 (hopefully)