replaced `yield` method name with `get` so that this script does not conflict with future environments using that keyword