DEIIS homework 3