add compare file to compare different methods