thanx origin for accepting waiting for both the buttons