still moving things around, got the variables to put out other than null but not fully functional.