better interactive mode