Better constructor for Action