added ng idle apply timing