compilation under mad