adding tmp3