added another getter and setter to the jellyfish class