add feature interactive

I apologize that I don't add test code.
I think it is difficult to add test code for interactive.

thank you for reading.