First attempt at ret_dep.