Added detectPrivateInfo function, rebuilt segment field arrays