Panel sample code