use process in ideslave loop