got rid of unnecessary permission checking