is "undefined" necessary here?