small optimalizations
use metho clear to clear context