added console log for similarity