add some ad hoc testing code