need to detect if `defined?`