experiment onset function