adding @interact decorator