modified logics and translate part