filtering: done
modify api.js