Removed foreach stuff and now adding outer member to using state