take into account two factors