implemented the guts() method