One more try, mimicking dalmatinerdb/mmath