changed the interface on OBJDAG to use objects instead of IDs