modify @exp logic to be one line