changed from SQLITE to POSTGRES DB