working on getting action to apply from button click