compiler: working for real inputs