that stuff should be in the func not main