removed old button logic