need type as well as id