greatly improved sending. case 4 works. solution parsing for case 3 fixed.