actionS1() working properly