Added a new debug print statement in mainstart