got white list test and class working