g.get_action is deprecated - and doesn't work anyway