Implemented Compare command