after some reading of ruby conventions i did a reformat