before adding badges