the type of participant depends on the type of offense attributed to the perpetrator