version I used in assignment submission