the `!= nil` turned out to not be necessary.