Implement simple task dependency