A block of mass m attached to an ideal spring undergoes simple harmonic motion. The acceleration of the block has its maximum magnitude at the point where:

A. The speed is the maximum
B. The speed is the minimum
C. The potential energy is the minimum
D. The restoring force is the minimum
E. The kinetic energy is the maximum