postgres & charts working