// refactored ajax multistep action