I cleaned up and I will try ruby for this :)