removed duplicate state