hash empty method