added compare speed method