* renamed the onclick function
* removed unnecessary function call