- added value param to states obj