How do materials enter and leave the nucleus?