code for testing individuals