working on actionS1()