nearly finish the admin's all function