Added actionFunction and other samples