almost ready for the panel plot