var max = Math.max.apply(
      null,
      msgInRoom(socket.room, messages).map(x => x.questionNum)
    );