added dist, still not 100% this is a good idea