Replace .state() with .line()