does this assume `$e` always exists? what if it doesn't?