working on initialize
changed packet type to int, main still seg faults on receiving token
hi