change dependencies to be internal