some test and sample programs