Code Part1 - basic comparision completed