I can do better than copy-paste a function