action factory refactoried; simple stateful action tested;