hw3 basics