implement bloom() method