Made action.c work