implemented all() method