changed function of button to "pass"