added A functionality