.to_i instead Integer for converting string to integer
production uses postgres now