But many pitfalls lie ahead