moved externs to deps