[ADD] added two functions that I think will make validation easier?