add some admin code