quick refactor of ws_actions