added the onclick feature!