added on click handler, option for aspect onclick handler