Added basic wc functionality