completes hw3?... still not 100%...