changed validator signatures to not just accept a string