updated true flag to 1