whitespace cleanup
add string sending testing method