add error checking for a part of input (check box).