before change im to combinational logic