trying to get that class method into ACtiveRecord :/