Implemtation of Action() and Effect()