Made MangoRange into an interface