forgot to paramaterize visible layer panels