prepare panels