Working but stupid implementation of WC