removed permission stuff