Accelerate() function updated