removed redundant const & from a function type signature