the functions 'die' and 'eat' are added to side server