removed buttons and added the call on page load