switched validator library out in favour of String lib