moves an internal class