to test pieces of code