add new logic.