//fixed advice condition time calculation