Working on sendSegHandler