clear and empty view methods