Checking with the earlier implementation