moved parsing to rails model