updated header for changed func sig
whitespace fixed