more work on dependency helper functions