starting back on problem
trying to add chan handling and syncing