Ещё один вариант: https://gi.reactor.cc/post/5284639