use contents[0]