Adding state as params