Please divide it into separate assignment and comparison