compilation error on judge, should be resolved