update type case homework to include mod operator