added dot button functionality