basic validation library is now working... woohoo!