removed declaration in main body