Added click detection.
Replaced two instances of "this" to "A".