Worked on unstable stuff, don't worry it's all commented