demo button functionality