Trying to make speedup work