cross-posted from: https://lemm.ee/post/43852754