readded the declare(ticks=n) at the top of the script