adding badges and setting code ff