roster parsing code