Appending current action to the pending unresolved actions.
(wip) will be moving functions to utils.