added uint8 id to Detetions