added li function, ignore Rhistory