hw3 trying seems working