added dist option