fixed week4 example