Added input ranges limit