range commands more or less implemented