added min text validation and docs added