correcting function format, no functional changes