Initial non working code for invoking actions