Added support for accelerate