remove prepare_dependencies function, it is no longer needed