magic now with variable tick ranges