implemented wc; improved demo; added deps