hw3 preliminary