using clear class