add the use of action listener