changes to try and get sending data working