Added unique rows method