working multi panel version