Testing Brian's code