Removed old (commented out) version of send packet