now it doesn't spam the terminal