networking functionality added to buttons
networking functionality added to buttons