Add element to a list or another element