create task, and add some more input validation code
initial cut at comparison logic