code for test var