changes in initialization and printing runtime info