added buttons with sample code