First working version, yaaaay!