added declaration of my_id variable to global scope in init.c