add filter_by_10 and modify some code