Added on dealing with integer type.