implemented keyboard and voices events