Added state functionality