Change function order
Change permissions