The origins of 'Amazing Grace'