Added validation for all fields, and some default values for stray and
if freq