modified admin library