more work on active state