add the pull and push structure demo code