text checking was added