changes to admin class