replace the list with square