put bt2's functions in a separate script