changed function call on click