adding Le's code