added support for multiple actions