removed permission check