added static to main function