add return value for exec/join