starting comparing code