sets and reps from server