added descriptions to functions, modified test code, added send string function