Added function A.