week4 try case classes