implemented a button without using stage