More stuff with streams. I did this in netbeans btw.