defined?() ^ expected an expression after `defined?`