adding new state template