starting to use method on button click listener