add useful functions to know available actions