serializing correctly
threading working