Adding ActionEvent API