added many missing const ref decl