interactive mode working