example code to test x