log actions in the correct order