changed OnClick Events to annotations