hm. restructuring 'inside'