add function for manual intervention