add pseudo code to show which actions are enabled