Added accomodation for two panes