adding clear value method