yes, lots of copy paste code, couldve created a sub-routine but fuck it.