change statuslen to const 5