more work on ids