moved data handling over to client