add function to get rescue solution
found new bug with plan A (see TODO list)