added -i paramer value's storage and filtering