runs correctly, just needs formatting