removed activeRecord stuff