initializing the code