add init method to actions