hw4 half-baked