Turns out ai4r will do the mean for you
Just cleaning whitespace