added some admin functions