header update
rename function partial
comments and whitespace