moved clew initialization.