added internals.Rd