Modify apply_

close #3