refactored .do to .action