improve cpu usage