working on #68

fixed Swift double pointers in Server