rough impl of dependencies command