Ratio trick implemented