need to check for undefined addresses