added some comments to button pushing