adding A functionality