add isDist flag