Adding appendAround function