Made authority a global variable