rudimentary idea for sentence validation