refactor trundle,add more comment