Exercises 1 and 2- changing the release() method and adding empty? method and testing