clear method
various changes