placed panel in right order, moved resources