expect core for expect client