using id's instead of ind's where possible.