undid swig rename. doesn't work with server. maybe later?