read button using event machine