added hw3 stuff