create badge model