updated function header comment