removed no longer needed empty() method.