added id field to boss classes