changed `code` to $(code)