first attempt at dist