minor adjustments to basic.ani()