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