write dependencies