no variable declared in main