Remote database works