consumer function

pre: mysql connectors
next: check internet connection windows 10