added small setup code for interactive testing