wrote some trial code for execute_actions