Made ex7 compile