make the cpu usage lower when you use pi