explicitly changed forKey to forKeyPath (thanks to Carl’s suggestion)