gets result from client. need to make models now