compiling : In case -> When