commented out segment io, maybe causing issues