replies must be an arrayref