Added states into application