Changed text() calls to plain() calls