completed expander.js