control using button