memory footprint reduction and a lot of permissions fondling