Added add2/3StateInput utils