worked in comments to ab1a1cd by @ogasser