Chain the call with the next line if possible and remove the variable